import mongoose from 'mongoose'
import Model from './model'
const menuSchema = new mongoose.Schema({
  menu: {
    type: Array,
    require: true
  }
})

class menuModel extends Model {
  constructor(connection, schema, name) {
    super(connection, schema, name)
  }

}

const menu = new menuModel(mongoose, menuSchema, 'menus')

export default menu
